package com.woniu.outlet.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@ApiModel("申请订单物料详情")
@Data
public class ApplicationDetail implements Serializable {
    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("申请订单id")
    @NotEmpty(message = "不能为空")
    private Integer applicationId;

    @ApiModelProperty("物料编码")
    private String materialCode;
    @ApiModelProperty("物料名称")
    private String materialName;
    @ApiModelProperty("物料规格")
    private String specificationModel;
    @ApiModelProperty("物料单位")
    private String specificationUnit;
    @ApiModelProperty("物料色号")
    private String color;
    @ApiModelProperty("计价单位")
    private String valuationUnit;
    @ApiModelProperty("申请数量")
    private Integer applicationNum;

    private String spare1;

    private String spare3;

    private String spare2;

    public ApplicationDetail(Integer id) {
        this.id = id;
    }

    public ApplicationDetail( ) {
    }
}